@font-face {
  font-family: 'Gravitas One';
  font-style: normal;
  font-weight: 400;
  src: url(GravitasOne.ttf);
}

#playFancy1, #playFancy2, #playFancy3 {
    font-size: 50px;
    font-weight: bold;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.8);
    font-family: 'Gravitas One', serif;
    margin-top: 100px;
}

ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

#wrapper{
    margin-top: 100px;
}

.jSlots-wrapper {
    overflow: hidden;
    height: 20px;
    display: inline-block; /* to size correctly, can use float too, or width*/
    border: 5px solid green;
}

.slot {
    float: left;
}



/* ---------------------------------------------------------------------
   FANCY EXAMPLE
--------------------------------------------------------------------- */
.fancy {
    text-align: center;
}
.fancy .jSlots-wrapper {
    overflow: hidden;
    height: 400px;
    display: inline-block; /* to size correctly, can use float too, or width*/
    border: 5px solid greenyellow;
}

.fancy .slot li {
    width: 400px;
    line-height: 400px;
    text-align: center;
    font-size: 390px;
    font-weight: bold;
    color: #fff;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.8);
    font-family: 'Gravitas One', serif;
    border-left: 5px solid green;
}

.fancy .slot:first-child li {
    border-left: none;
}

/*.fancy .slot li:nth-child(10)
{
	background-color: blue;
}
.fancy .slot li:nth-child(9)
{
	background-color: maroon;
}
.fancy .slot li:nth-child(8)
{
	background-color: darkviolet;
}
.fancy .slot li:nth-child(7)
{
	background-color: orchid;
}
.fancy .slot li:nth-child(6)
{
	background-color: orangered;
}
.fancy .slot li:nth-child(5)
{
	background-color: yellow;
}
.fancy .slot li:nth-child(4)
{
	background-color: lawngreen;
}
.fancy .slot li:nth-child(3)
{
	background-color: blue;
}
.fancy .slot li:nth-child(2)
{
	background-color: green;
}
.fancy .slot li:nth-child(1),
.fancy .slot li:nth-child(11)
{
	background-color: red;
}*/

.fancy .slot li{
    background-color: black;
}

.fancy .slot li span {
    display: block;
}

/* ---------------------------------------------------------------------
   ANIMATIONS
--------------------------------------------------------------------- */

@-webkit-keyframes winner {
    0%, 50%, 100% {
    -webkit-transform: rotate(0deg);
    font-size:390px;
    color: #fff;
}
25% {
    -webkit-transform: rotate(20deg);
    font-size:90px;
    color: #FF16D8;
}
75% {
    -webkit-transform: rotate(-20deg);
    font-size:90px;
    color: #FF16D8;
}
}
@-moz-keyframes winner {
    0%, 50%, 100% {
    -moz-transform: rotate(0deg);
    font-size:390px;
    color: #fff;
}
25% {
    -moz-transform: rotate(20deg);
    font-size:90px;
    color: #FF16D8;
}
75% {
    -moz-transform: rotate(-20deg);
    font-size:90px;
    color: #FF16D8;
}
}
@-ms-keyframes winner {
    0%, 50%, 100% {
    -ms-transform: rotate(0deg);
    font-size:70px;
    color: #fff;
}
25% {
    -ms-transform: rotate(20deg);
    font-size:90px;
    color: #FF16D8;
}
75% {
    -ms-transform: rotate(-20deg);
    font-size:90px;
    color: #FF16D8;
}
}


@-webkit-keyframes winnerBox {
    0%, 50%, 100% {
    box-shadow: inset 0 0  0px yellow;
    background-color: #FF0000;
}
25%, 75% {
    box-shadow: inset 0 0 30px yellow;
    background-color: aqua;
}
}
@-moz-keyframes winnerBox {
    0%, 50%, 100% {
    box-shadow: inset 0 0  0px yellow;
    background-color: #FF0000;
}
25%, 75% {
    box-shadow: inset 0 0 30px yellow;
    background-color: aqua;
}
}
@-ms-keyframes winnerBox {
    0%, 50%, 100% {
    box-shadow: inset 0 0  0px yellow;
    background-color: #FF0000;
}
25%, 75% {
    box-shadow: inset 0 0 30px yellow;
    background-color: aqua;
}
}



.winner li {
    -webkit-animation: winnerBox 2s infinite linear;
    -moz-animation: winnerBox 2s infinite linear;
    -ms-animation: winnerBox 2s infinite linear;
}
.winner li span {
    -webkit-animation: winner 2s infinite linear;
    -moz-animation: winner 2s infinite linear;
    -ms-animation: winner 2s infinite linear;
}